package com.poorstu.manager;

import java.util.List;

import com.poorstu.model.LeaseMod;
import com.poorstu.model.RoleMod;

public interface AdminMeg {
	
	public boolean addRole(String rolename);
	public RoleMod changeRole(int Roleid);
	public int deleteRole(int roleid[]);
	public int roleChged(int roleid,String rolename,String roleStatus);
	public int leaseAdd(int alluserid,String leasename,String leasecontent);
	public List<LeaseMod> leaseMag();
	public int leaseDelete(int leaseid[]);
	
	public LeaseMod getLeaseById(int leaseId);
	public int leaseChange(int leaseId,String leaseName,String leaseContent);
}
